<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <!--(1) 引入ElementUI的CSS -->
    <link rel="stylesheet" href="//unpkg.com/element-plus/dist/index.css" />

</head>
<body>

<div id="container">

    <el-button>{{message}}</el-button>

</div>

<script src="//unpkg.com/vue@next"></script>
<script src="//unpkg.com/element-plus"></script> <!-- (2)引入ElementUI的JS文件 -->

<script type="text/javascript">

    const demoApp = {
        data(){
            return {
                message: 'hello',
            }
        },
        mounted(){

        },
        methods:{

        }

    }

    Vue.createApp(demoApp)
        .use(ElementPlus) // 使用ElementUI组件
        .mount('#container')
</script>

</body>
</html>
